#pragma once
#ifndef _COMMON_DEF_H_
#define _COMMON_DEF_H_


#define BUTTON_TOP_VIEW_WIDTH		30
#define ID_BUTTON_LEFT				2007
#define ID_BUTTON_RIGHT				2008
#define ID_GRP_SHOW_BIG_IMAGE		501
#define ID_PICTURE_COMMON			502

#define DEF_TOP_VIEW_IMAGE_HEIGHT	100
#define DEF_LINE_VIEW				1

#define DEF_WIDTH_IMAGE_CONTROL				90
#define DEF_HIGHT_IMAGE_CONTROL				95
#define DEF_INITIAL_LEFT_IMAGE_CONTROL		5
#define DEF_INITIAL_TOP_IMAGE_CONTROL		5

#define COLOR_IMAGE_TOP_BORDER              Color(168, 204, 255)
#define COLOR_IMAGE_TOP_SELECTED_BORDER     Color(0x00, 0x33, 0x00)//Color(255, 115, 8) //(235, 235, 235)
#define BORDER_TOTAL_WIDTH_IMAGE_CONTROL    2

#define NUMBER_IMAGES_PER_PAGE 10;

//Size of Left view
#define LEFTVIEW_SIZE		200

//Info of items in left view
#define ROW_NUM						5
#define COL_NUM						1
#define FOLDER_WIDTH				180
#define FOLDER_INACTIVE_HEIGHT		70
#define FOLDER_ACTIVE_HEIGHT		140

//Image of board cell
#define FOLDERIMAGE_FOCUS		L"res\\folder_focus.png"
#define FOLDERIMAGE_ACTIVE		L"res\\folder_active.png"
#define FOLDERIMAGE_INACTIVE	L"res\\folder_inactive.png"
#define FOLDERIMAGE_WIDTH		70
#define FOLDERIMAGE_HEIGHT		70

// Define splitter view type
typedef enum E_SPLITTER_VIEW_TYPE
{
	E_NONE = 0,
	E_IMAGE_VIEW,
	E_FILE_VIEW,
	E_MAX_VIEW
} E_SPLITTER_VIEW_TYPE ;


#endif